package net.huashitong.scheduling.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.sirdc.modules.core.dao.GenericQuery;
import com.sirdc.modules.core.dao.StringDao;

import net.huashitong.scheduling.entity.Gdp;

@Repository
public class GdpDao extends StringDao<Gdp>{
	
	public List<Gdp> queryByDate(String date){
		GenericQuery query = createQuery("obj");
		query.append(" and obj.date like :%date").setParam("date", date);
		return query.listResult();
	}
	

}
